package com.ruoyi.test7.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * status对象 request_status
 * 
 * @author 22082109czy
 * @date 2025-07-13
 */
public class RequestStatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 状态ID */
    private Long statusId;

    /** 状态编码（如 PENDING、APPROVED） */
    @Excel(name = "状态编码", readConverterExp = "如=,P=ENDING、APPROVED")
    private String statusCode;

    /** 状态名称（如 待审批、已批准） */
    @Excel(name = "状态名称", readConverterExp = "如=,待=审批、已批准")
    private String statusName;

    /** 是否仅管理员可见（1-是，0-否） */
    @Excel(name = "是否仅管理员可见", readConverterExp = "1=-是，0-否")
    private Integer isAdminOnly;

    public void setStatusId(Long statusId) 
    {
        this.statusId = statusId;
    }

    public Long getStatusId() 
    {
        return statusId;
    }

    public void setStatusCode(String statusCode) 
    {
        this.statusCode = statusCode;
    }

    public String getStatusCode() 
    {
        return statusCode;
    }

    public void setStatusName(String statusName) 
    {
        this.statusName = statusName;
    }

    public String getStatusName() 
    {
        return statusName;
    }

    public void setIsAdminOnly(Integer isAdminOnly) 
    {
        this.isAdminOnly = isAdminOnly;
    }

    public Integer getIsAdminOnly() 
    {
        return isAdminOnly;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("statusId", getStatusId())
            .append("statusCode", getStatusCode())
            .append("statusName", getStatusName())
            .append("isAdminOnly", getIsAdminOnly())
            .toString();
    }
}
